    <div class="content">
        
        <div class="breadLine">
            <ul class="breadcrumb">
                <li>Trang chủ</li>
            </ul>
        </div>
        
        <div class="workplace">
		
            <div class="row-fluid">
                
                <div class="span12">                    
                    <div class="head">
                        <div class="isw-users"></div>
                        <h1>Quản lý tài khoản</h1>                       
                        <div class="clear"></div>
                    </div>
                    <div class="block-fluid">
						<div id="table_filter" class="table_filter">
							<label>
								Tìm: 	<input type="text">
							</label>
						</div>
						<div id="div-filter-by" class="table_wrapper">
							<label>Filter by
								<select id="filterby" name="filterby" size="1">
                                    <?php foreach($user_lang['tp_st'] as $val=>$st){?>
                                        <option value="<?php echo $val;?>"><?php echo $st;?></option>
                                    <?php }?>
								</select>
							</label>
						</div>
						<div id="div-privilege" class="table_wrapper">
							<label>Privilege
								<select id="privilege" name="privilege" size="1">
									<option value="-1" selected="selected">All</option>
                                    <?php foreach($user_lang['tp_priv'] as $key=>$role){?>
                                        <option value="<?php echo $key;?>"><?php echo $role;?></option>
                                    <?php }?>
								</select>
							</label>
						</div>
						<div id="div-button" class="table_button">
							<label>
								<button type="button" class="btn btn-mini marright10">Tìm kiếm</button>
								<a href="<?php echo site_url('user/add');?>">
                                    <button type="button" class="btn btn-mini btn-warning"> + Tạo người dùng mới</button>
                                </a>
							</label>
						</div>	
						<div class="clear"></div>
						<table cellpadding="0" cellspacing="0" width="100%" class="table">
                            <thead>
                                <tr>
                                    <th class="text-center">ID</th>
									<th>Username</th>
									<th width="15%">Userlevel</th>
                                    <th width="20%">Action</th>
                                    <th>Email</th>                                    
                                </tr>
                            </thead>
                            <tbody>
			                    <?php
			                    foreach($info as $user)
			                    {
			                    ?>
                                <tr>
                                    <td class="text-center"><?php echo $user['id'];?></td>
                                    <td><a href="<?php echo site_url('user/detail/'.$user['id']);?>"><?php echo $user['username'];?></a></td>
									<td>
                                    <?php
                                        echo array_key_exists($user['access'], $user_lang['tp_priv']) ? $user_lang['tp_priv'][$user['access']] : $user['access'];
                                    ?>
                                    </td>
                                    <td>
										<p>
											<select id="slcAction_101" name="slcAction_101" size="1">
                                                <?php if($st==0){?>
												    <option value="1" selected="selected">Block</option>
												    <option value="2">Delete</option>
                                                <?php }elseif($st==1){?>
                                                    <option value="3">Active</option>
                                                <?php }elseif($st==1){?>
                                                    <option value="4">Undelete</option>
                                                <?php }elseif($st==3){?>
                                                    <option value="5">Unblock</option>
                                                <?php }?>
												<!--
												unactive
												<option value="3">Active</option>
												undelete
												<option value="4">Undelete</option>
												unblock
												<option value="5">Unblock</option>
												-->
											</select>
											<button type="button" class="btn btn-mini btn-warning ver-middle">Submit</button>
										</p>
									</td>
                                    <td><?php echo $user['email'];?></td>                                    
                                </tr>
			                    <?php
			                    }
			                    ?>                     
                            </tbody>
						</table>
						<div class="clear"></div>
						<div class="table_info" id="table_info"><?php echo $user_lang['page'];?> <?php echo $current_page;?>/<?php echo $max_page;?></div>
						<div class="paginate" id="paginate">
							<a tabindex="0"><?php echo $user_lang['prev'];?></a>
							<span>
								<a class="current" tabindex="0">1</a>
								<a tabindex="0">2</a>
							</span>
							<a tabindex="0"><?php echo $user_lang['next'];?></a>
						</div>
					</div>
                </div>                                
                
            </div>   
			
            <div class="dr"><span></span></div>
        
        </div>
        
    </div>   